package umacis.data;

import java.util.Hashtable;
import java.util.Vector;

import umacis.data.elements.Action;
import umacis.data.elements.Binding;
import umacis.implementation.HookManager;

public class Bindings {
	
	private Hashtable bindings = new Hashtable();
	
	public Action getAction(int[] key) {
		
		return (Action)bindings.get(""+key[0] + "" + key[1]);
		
	}

	public void put(int [] key, Action action) {
		
		//bindings.addElement(bindings);
		bindings.put("" + key[0] + "" + key[1] , action);
	}

}
